﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataAccess;

namespace Bussiness
{
    public class SysConfigsManager
    {
        public string GetParaByName(string name)
        {
            SysConfigsData sc = new SysConfigsData();
            return sc.GetParaByName(name);
        }
        public bool UpdateParaByName(string name,string value)
        {
            SysConfigsData sc = new SysConfigsData();
            return sc.UpdateParaByName(name, value);
        }
        public int GetLastGroupID()
        {
            SysConfigsData sc = new SysConfigsData();
            return Convert.ToInt32(sc.GetParaByName("LastGroupID"));
        }
    }
    
}
